.class Lcom/waiqin365/lightapp/chexiao/dr;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 7

    const/4 v6, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->dismissProgressDialog()V

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    return-void

    :pswitch_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/chexiao/b/a/au;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->a(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;Lcom/waiqin365/lightapp/chexiao/b/a/au;)Lcom/waiqin365/lightapp/chexiao/b/a/au;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->a(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/au;

    move-result-object v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->a(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/au;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/au;->b()Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->a(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/au;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/b/a/au;->d:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->a(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/au;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/b/a/au;->d:Ljava/lang/String;

    const-wide/16 v2, 0x0

    invoke-static {v1, v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v2

    invoke-static {v0, v2, v3}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->a(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;D)D

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->c(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/view/LabelViewH;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u00a5 "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v3}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->b(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)D

    move-result-wide v4

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->f()I

    move-result v3

    invoke-static {v2, v3, v6}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelViewH;->setContent(Ljava/lang/String;)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->d(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    const v2, 0x7f0806ac

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v6}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->a(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/au;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->e(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->a(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/au;

    move-result-object v1

    iget v1, v1, Lcom/waiqin365/lightapp/chexiao/b/a/au;->a:I

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    :pswitch_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->a(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;Lcom/waiqin365/lightapp/chexiao/b/a/bp;)Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    move-result-object v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/b/a/bp;->b()Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/b/a/bp;->b:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/chexiao/b/a/bp;->b:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->g(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    const v2, 0x7f080718

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v6}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "type"

    sget-object v2, Lcom/fiberhome/gaea/client/a/e;->m:Lcom/fiberhome/gaea/client/a/e;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    const-class v2, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesProcessSelectActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    const-class v2, Lcom/waiqin365/lightapp/visit/SeniorVisitProcessSelectActivity;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-static {}, Lcom/fiberhome/gaea/client/a/b;->a()Lcom/fiberhome/gaea/client/a/b;

    move-result-object v2

    const-string/jumbo v3, "reinit_activity"

    invoke-virtual {v2, v3, v0, v1}, Lcom/fiberhome/gaea/client/a/b;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/b/a/bp;->d:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_3

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    const-class v2, Lcom/waiqin365/lightapp/chexiao/CXRecordsDetailSKActy;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "id"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v2}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/chexiao/b/a/bp;->d:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->finish(Z)V

    goto/16 :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->finish()V

    goto/16 :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->h(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Landroid/widget/Button;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/widget/Button;->setClickable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->i(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Landroid/content/Context;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/b/a/bp;->c:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    const v2, 0x7f08013b

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_1
    invoke-static {v1, v0, v6}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/b/a/bp;->c:Ljava/lang/String;

    goto :goto_1

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->h(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Landroid/widget/Button;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/widget/Button;->setClickable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->j(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/dr;->a:Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;->f(Lcom/waiqin365/lightapp/chexiao/CXSaveSKActy;)Lcom/waiqin365/lightapp/chexiao/b/a/bp;

    move-result-object v1

    iget v1, v1, Lcom/waiqin365/lightapp/chexiao/b/a/bp;->a:I

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x13
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
